<?php 

 $posts = Mage::getModel('parts/parts')->getCollection()
	 		->addFieldToFilter('cat_id',array('in'=>1)); 
	$booked_days_sers = array();
	$blogDate_sers = array();			    				
	foreach ($posts as $post)
	{  
		$blogDate_sers[] =$post->getBookdate();
	}
	
	foreach ($blogDate_sers as $blogDate_ser)
	{
		$booked_days_sers[]=explode('-',$blogDate_ser);
		
	}
	
	$booked_days_service="";
	foreach ($booked_days_sers as $value1)
		{
		foreach ($value1 as $value2)
		{
		$booked_days_service.=$value2.",";
		}
		}
	$booked_days_service= substr($booked_days_service,0,strlen($booked_days_service)-1);

//	print_r($blogDate_sers);
//	print_r($booked_days_sers);
	
	$posts = Mage::getModel('parts/parts')->getCollection()
	 		->addFieldToFilter('cat_id',array('in'=>2)); 
	$booked_days_mots = array();
	$blogDate_mots = array();			    				
	foreach ($posts as $post)
	{  
		$blogDate_mots[] =$post->getBookdate();
	}
	
	foreach ($blogDate_mots as $blogDate_mot)
	{
		$booked_days_mots[]=explode('-',$blogDate_mot);
		
	}
	
	$booked_days_mot="";
	foreach ($booked_days_mots as $value1)
		{
		foreach ($value1 as $value2)
		{
		$booked_days_mot.=$value2.",";
		}
		}
	$booked_days_mot= substr($booked_days_mot,0,strlen($booked_days_mot)-1);

	?>
     <?php echo '<script type="text/javascript" type="text/javascript">	var booked_mot = new Array('.$booked_days_mot.');var booked_service=new Array('.$booked_days_service.');</script>'?>



 <?php  	$collection = Mage::getModel('catalog/category')->getCollection()
  			->addFieldToFilter('is_active',array('in'=>'1'))
  			->addFieldToFilter('is_main_category',array('in'=>'1'))
  			->addAttributeToSelect('*');

?>
<div id="content">

      <div ><img src="<?php echo $this->getSkinUrl()?>images/service2.gif"/></div>
         <?php
   
    $rootPath = $_SERVER["DOCUMENT_ROOT"]."/app/design/frontend/default/seacroft/template/page/template/";
    include ($rootPath."calc.phtml");
    
    ?>
      <div class="height5 financebanner">
        <input type="submit" class="inputcaculator" value=""  onClick="document.getElementById('popcalculator').style.display='block'"/>
      </div>
      <div ><img src="<?php echo $this->getSkinUrl()?>images/banner21.gif" class="curpoionter"/></div>
      <div class="dashedlineheight6"><img src="<?php echo $this->getSkinUrl()?>images/line2.gif"/></div>
      
       <?php if (Mage::getSingleton('core/session')->getNoticeBook()==1):?>
            <div class="note-msg">
	    		<?php echo $this->__('Thank you  for your enquiry a representative will be in touch shortly.'); ?>
			</div>
			<?php Mage::getSingleton('core/session')->setNoticeBook(0); ?>
			<?php endif;?>
      
      <div class=" welcome" >
        <div class="welcome1">
          <div class="welcome2">
            <div class="position zindex10"><img src="<?php echo $this->getSkinUrl()?>images/middlecar.gif"/></div>
            <div class="bgtop185 margintop3"><img width="500" height="3" src="<?php echo $this->getSkinUrl()?>images/bgtop_light.gif"></div>
            
           
            
            <div class="serviceparts" >
			<?php $block = Mage::getModel('cms/block')->load(4);
				echo $block->getContent();
			?>
            </div>
            <div class="bgtop185"><img width="500" height="3" src="<?php echo $this->getSkinUrl()?>images/bgbottom_light.gif"></div>
          </div>
          <div class="pic"><img src="<?php echo $this->getSkinUrl()?>images/service3.gif"/></div>
        </div>
        <div class="tag">
          <div >
            <div  class="menu2">
              <div class="title2 bg33" onClick="menu2('1')">&nbsp;</div>
              <div class="title2 bg43" onClick="menu2('2')">&nbsp;</div>
            </div>
            <div id="menutitle21" class="menutitle21 positionabsolute"  >
              <div class="bigtitlep"><img src="<?php echo $this->getSkinUrl()?>images/temp_book.gif"/></div>
              <div class=" title3"><font class="please">Please fill in your details below so that we can book you in.</font></div>
              <form name ="bookservice" id="bookservice" action="<?php echo $this->getUrl() ?>parts/index/post" method="post">
              <div class="linexu margintop10"></div>
              <div id="addresspop" class="popinfor" >
                <div class="height5  ">
                  <div class="circletable9" >
                    <div class="circletopright"><img src="<?php echo $this->getSkinUrl()?>images/close2.gif" onClick="document.getElementById('addresspop').style.display='none'"/></div>
                    <div class="  margintop_3" ><img src="<?php echo $this->getSkinUrl()?>images/selectyour.gif"/></div>
                    <div class="list">
                      <ul>
                        <li><a href="#">1 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">2 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">3 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">4 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">5 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">6 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">7 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">8 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">9 Bedford Way Scunthorpe</a></li>
                      </ul>
                    
                    </div>
                  </div>
                </div>
              </div>
              <div class="inputs ">
                <ul  >
                  <li>
                    <!--Your full name -->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_name.gif"/></li>
                  <li>
                    <input name="fullname" type="text" class="required-entry input6">
                  <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div class="inputs ">
                <ul>
                  <li>
                    <!--Postcode-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_postcode.gif"/></li>
                  <li >
                    <div>
                      <div class="floatleft">
                        <input name="postcode" type="text" class="required-entry input90">
                      </div>
                      <div  class="floatleft">&nbsp;
                        <input name="input2" type="button" class="findaddress2 " onClick="pcaStartPopupHM32()" value="">
                        <!-- <input name="input2" type="button" class="findaddress2 " onClick="pcaStartPopupHM32()document.getElementById('addresspop').style.display='block'"value="">
                        <SCRIPT LANGUAGE=JAVASCRIPT SRC="http://services.postcodeanywhere.co.uk/popups/javascript.aspx?account_code=kalde11112&license_key=hm32-aw42-bd58-ft68"></SCRIPT> -->
                      </div>
                    </div>
                    <font style="color:#fff;vertical-align:-3px">&nbsp;*</font>
                  </li>
                </ul><div class="clearfloat"></div>
              </div>
              <div class="inputs ">
                <ul>
                  <li>
                    <!--House Number-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_number.gif"/></li>
                  <li>
                    <input name="housenumber" type="text" class="required-entry input6" id="housenumber">
                  <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div class="inputs ">
                <ul>
                  <li>
                    <!--street-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_street.gif"/></li>
                  <li>
                    <input name="street" type="text" class="required-entry input6" id="street">
                  <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div class="inputs ">
                <ul>
                  <li>
                    <!--Town-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_town.gif"/></li>
                  <li>
                    <input name="town" type="text" class="required-entry input6" id="twon">
                  <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div id="popinfor2" class="popinfor2" style="display:none">
                <div class="height5  ">
                  <div class="circletable8  ">
                    <div class="margintop_3" style="text-align:center; margin:0 auto">Needed so we can email you to confirm your booking Date</div>
                  </div>
                </div>
              </div>
              <div class="clearfloat"></div>
              <div class="inputs" style="margin-top:4px;*margin-top:0;">
                <ul>
                  <li style="margin-top:2px\9;*margin-top:0px;_margin-top:3px;">
                    <!--Telephone-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_telephone.gif"/></li>
                  <li style="margin-top:2px;*margin-top:0px;">
                    <input name="telephone" type="text" class="required-entry input6" >
                  <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div class="inputs">
                <ul>
                  <li>
                    <!--Email Address-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_email.gif"/></li>
                  <li>
                    <input name="email" type="text" class="required-entry validate-email input6ss"  onMouseover="pop1(2)" onMouseOut="pop0(2)" >
                    <font style="color:#fff">*</font></li>
                </ul>
				
              </div>
              <!-- **remove car make**
              <div class="inputs">
                <ul>
                  <li>
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_make.gif"/></li>
                  <li class="s_select">

                    <div class="select2">

                <div class="moniselect_parts width193">

<input type="text"disabled="disabled "  class="required-entry input_W_H193" id="carmake10" name="vehicle_colour" value="Please Select"/>

  <div class="moniselect_content" onclick="showoption_new('option',10)" onmouseout="document.getElementById('option10').style.display='none'"><img  class="imgage" usemap="#SystemMap" src="<?php echo $this->getSkinUrl()?>images/input6s.gif">
</div>
  <dl class="width193" id="option10" onmouseover="this.style.display='block'"  onmouseout="this.style.display='none'">

<dt class="last_dt" onclick="sendvalue_new(this,'carmake',10,'option')">test</dt>

  </dl>
</div>
                </div>
                    <font class="font_xinghao">*</font></li>

                </ul>
              </div> -->
              <div class="inputs">
                <ul>
                  <li>
                    <!--Car Model-->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_model.gif"/>
                  </li>
                  <li>
                    <input name="carmodel" type="text" class="required-entry input6" >
                    <font style="color:#fff">*</font>
                  </li>
                  
                  <!--
                  <li class="s_select">

                    <div class="select2">

                  <div class="moniselect_parts width193">

<input type="text"disabled="disabled "  class="required-entry input_W_H193" id="carmodel11" name="vehicle_colour" value="Ford Ka"/>

  <div class="moniselect_content" onclick="showoption_new('option',11)" onmouseout="document.getElementById('option11').style.display='none'"><img  class="imgage" usemap="#SystemMap" src="<?php echo $this->getSkinUrl()?>images/input6s.gif">
</div>
  <dl class="width193" id="option11" onmouseover="this.style.display='block'"  onmouseout="this.style.display='none'">

  <?php
    $num =  count($collection);
    $i=0;
?>
<?php foreach ($collection as $_category):?> 
<dt onclick="sendvalue_new(this,'carmodel',11,'option')" <?php if($i==($num-1)){echo "class='last_dt'";}?>><?php echo $_category->getName()?></dt>
<?php
    $i++;
    endforeach;
?>
  </dl>
</div>
                  </div>
                    <font class="font_xinghao">*</font></li>
-->
                </ul>
              </div>
              <div class="inputs">
                <ul>
                  <li>
                    <!--Registration Number-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_registration.gif"/></li>
                  <li>
                    <input name="regnumber" type="text" class="required-entry input6" >
                    <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div class="inputs">
                <ul>
                  <li>
                    <!--Book a Data-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_data.gif"/>
				 
				  
                  <li >
                    <div>
                      <div class="floatleft">
                        <input name="bookdate" type="text" id="showdate" class="required-entry inputdate" value="No Date Chosen">
                      </div>                     
                      <div  class="floatleft">&nbsp;<img class="hand" onClick="calendar('calendar_big','showdate')" src="<?php echo $this->getSkinUrl()?>images/calendar.gif"/></div>
                    </div>
                    <font style="color:#fff">*</font>
                   
                    
					
                  </li>
                </ul>
              </div>
              <div class="inputs">
                <ul>
                  <li >
                  	<input type="hidden" name="cat_id" value="1" />
                    <input name="input" type="submit" class="savebook " value="">
                  </li>
                </ul>
              </div>
            </div> 
            </form>
            <script type="text/javascript">
   			 var bookservice = new VarienForm('bookservice', true);
			</script>	
            
            <div id="menutitle22" class="menutitle22 positionabsolute"  >
              <div class="bigtitlep"><img src="<?php echo $this->getSkinUrl()?>images/temp_mot.gif"/></div>
              <div class=" title3"><font class="please">Please fill in your details below so that we can book you in.</font></div>
              <form name ="bookmot" id="bookmot" action="<?php echo $this->getUrl() ?>parts/index/post" method="post">
              <div class="linexu margintop10"></div>
              <div id="addresspop2" class="popinfor">
                <div class="height5  ">
                  <div class="circletable9" >
                  
                  
                    <div class="circletopright"><img src="<?php echo $this->getSkinUrl()?>images/close2.gif" onClick="document.getElementById('addresspop2').style.display='none'"/></div>
                    <div class="  margintop_3" ><img src="<?php echo $this->getSkinUrl()?>images/selectyour.gif"/></div>
                    <div class="list">
                      <ul>
                        <li><a href="#">1 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">2 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">3 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">4 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">5 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">6 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">7 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">8 Bedford Way Scunthorpe</a></li>
                        <li><a href="#">9 Bedford Way Scunthorpe</a></li>
                      </ul>
                    
                    </div>
                  </div>
                </div>
              </div>
              <div class="inputs ">
                <ul  >
                  <li>
                    <!--Your full name -->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_name2.gif"/></li>
                  <li>
                    <input name="fullname" type="text" class="required-entry input6">
                    <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div class="inputs ">
                <ul>
                  <li>
                    <!--Postcode-->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_postcode2.gif"/></li>
                  <li >
                    <div>
                      <div class="floatleft">
                        <input type="text" name="postcode" class="required-entry input90" value="DN15 8GP" >
                      </div>
                      <div class="floatleft">&nbsp;
                        <input type="button" value="" class="findaddress2 " onClick="document.getElementById('addresspop2').style.display='block'" name="input2">
                      </div>
                      
                    </div>
                    <font style="color:#fff;vertical-align:-3px">&nbsp;*</font></li>
                </ul><div class="clearfloat"></div>
              </div>
              <div class="inputs ">
                <ul>
                  <li>
                    <!--House Number-->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_number2.gif"/></li>
                  <li>
                    <input name="housenumber" type="text" class="required-entry input6">
                    <font style="color:#fff">*</font></li>
                </ul>
              </div>
               <div class="inputs ">
                <ul>
                  <li>
                    <!--street-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_street2.gif"/></li>
                  <li>
                    <input name="street" type="text" class="required-entry input6" id="street">
                  <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div class="inputs ">
                <ul>
                  <li>
                    <!--Town-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_town2.gif"/></li>
                  <li>
                    <input name="town" type="text" class="required-entry input6" id="twon">
                  <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div id="popinfor3" class="popinfor2" style="display:none">
                <div class="height5  ">
                  <div class="circletable8  ">
                    <div class="margintop_3" style="text-align:center; margin:0 auto">Needed so we can email you to confirm your booking Date</div>
                  </div>
                </div>
              </div>
              <div class="clearfloat"></div>
               <div class="inputs" style="margin-top:4px;*margin-top:0;">
                <ul>
                  <li style="margin-top:2px\9;*margin-top:0px;_margin-top:3px;">
                    <!--Telephone-->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_telephone2.gif"/></li>
                   <li style="margin-top:2px;*margin-top:0px;">
                    <input name="telephone" type="text" class="required-entry input6" >
                    <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <div class="inputs">
                <ul>
                  <li>
                    <!--Email Address-->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_email2.gif"/></li>
                  <li>
                    <input name="email" type="text" class="required-entry validate-email input6ss" onmouseout="pop0(3)" onmouseover="pop1(3)" >
                    <font style="color:#fff">*</font></li>
                </ul>
              </div>
              <!--
              <div class="inputs">
                <ul>
                  <li>
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_make2.gif"/></li>
                    
                       <li class="s_select">

                    <div class="select2">
                       
                
                
                <div class="moniselect_parts width193">

<input type="text"disabled="disabled "  class="required-entry input_W_H193" id="carmake12" name="carmake" value="Please Select"/>

  <div class="moniselect_content" onclick="showoption_new('option',12)" onmouseout="document.getElementById('option12').style.display='none'"><img  class="imgage" usemap="#SystemMap" src="<?php echo $this->getSkinUrl()?>images/input6s.gif">
</div>
  <dl class="width193" id="option12" onmouseover="this.style.display='block'"  onmouseout="this.style.display='none'">

<dt class="last_dt" onclick="sendvalue_new(this,'carmake',12,'option')">test</dt>

  </dl>
</div>
                </div>
                    <font class="font_xinghao">*</font></li>

                </ul>
              </div>-->
              <div class="inputs">
                <ul>
                  <li>
                    <!--Car Model-->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_model2.gif"/>
                  </li>
                  <li>
                    <input name="carmodel" type="text" class="required-entry input6" >
                    <font style="color:#fff">*</font>
                  </li>
<!--
                     <li class="s_select">

                    <div class="select2">
                      <div class="moniselect_parts width193">

<input type="text"disabled="disabled "  class="required-entry input_W_H193" id="carmodel13" name="carmodel" value="Ford Ka"/>

  <div class="moniselect_content" onclick="showoption_new('option',13)" onmouseout="document.getElementById('option13').style.display='none'"><img  class="imgage" usemap="#SystemMap" src="<?php echo $this->getSkinUrl()?>images/input6s.gif">
</div>
  <dl class="width193" id="option13" onmouseover="this.style.display='block'"  onmouseout="this.style.display='none'">

  <?php
    $num =  count($collection);
    $i=0;
?>
<?php foreach ($collection as $_category):?> 
<dt onclick="sendvalue_new(this,'carmodel',13,'option')" <?php if($i==($num-1)){echo "class='last_dt'";}?>><?php echo $_category->getName()?></dt>
<?php
    $i++;
    endforeach;
?>
  </dl>
</div>
              </div>
                    <font class="font_xinghao">*</font></li>
-->
                </ul>
              </div>
              <div class="inputs">
                <ul>
                  <li>
                    <!--Registration Number-->
                    <img src="<?php echo $this->getSkinUrl()?>images/temp_registration2.gif"/></li>
              
                  <li>
                    <input type="text" class="required-entry input6" name="regnumber">
                    <font style="color: rgb(255, 255, 255);">*</font></li>
                </ul>
              </div>
              <div class="inputs">
                <ul>
                  <li>
                    <!--Book a Data-->
                  <img src="<?php echo $this->getSkinUrl()?>images/temp_data2.gif"/></li>
                    
                  <li >
                    <div>
                      <div class="floatleft">
                        <input id="showdate2" name="bookdate" type="text" class="required-entry inputdate" value="No Date Chosen">
                      </div>
                      <div  class="floatleft">&nbsp;<img class="hand" onClick="calendar('calendar_big','showdate2')"  src="<?php echo $this->getSkinUrl()?>images/calendar.gif"/></div>
                    </div>
                    <font style="color:#fff">*</font>
                  </li>
                </ul>
              </div>
              <div class="inputs">
                <ul>
                  <li >
                  	<input type="hidden" name="cat_id" value="2" />
                    <input name="input" type="submit" class="savebook " value="">
                  </li>
                </ul>
              </div>
              </form>
               <script type="text/javascript">
   			 		var bookmot = new VarienForm('bookmot', true);
			   </script>
            </div>
            
          </div>
           <div id="calendar_big" class="calendar_big">
                     <div class="top_bg"><img src="<?php echo $this->getSkinUrl()?>images/date/calendar_top.gif"/></div>
                     <div class="center_bg"><table id="pop_calendar" border="0" cellpadding="0" cellspacing="0" class="pop_calendar">
                        <tr><td id=cc></td></tr></table>
                        <div class="circletopright"><img onclick="document.getElementById('calendar_big').style.display='none'" src="<?php echo $this->getSkinUrl()?>images/close2.gif"></div>
                        </div>
                        <div class="bottom_bg"><img src="<?php echo $this->getSkinUrl()?>images/date/calendar_bottom.gif"/></div>
                        </div>
						<!--<div id=showdate></div>-->
						 <script language="javascript" type="text/javascript" src="<?php echo $this->getSkinUrl()?>js/dates.js"></script></li>
        </div><div class="height5"><img style="float: left;margin-top:2px" src="<?php echo $this->getSkinUrl()?>images/line2.gif"/></div>


      <div >
<?php
    $collectionAdvertData = Mage::getModel('sectors/sectors')->load(1)->_data;
    if(!empty($collectionAdvertData['imagegallery'])){
        $advertImgArray = json_decode($collectionAdvertData['imagegallery']);
        $imgArray = array();
        $length = count($advertImgArray);
        $i=0;
        foreach($advertImgArray as $key => $imgObj){
            $imgArray[$i] = $imgObj->filepath;
            $i++;
        }
        if($length == 1){
            $imgIndex = 0;
        }else{
            $imgIndex = mt_rand(0,$length-1);
        }
        $imgSrc = "http://".$_SERVER['HTTP_HOST']."/media".$imgArray[$imgIndex];
    
?>
        <!-- advert start -->
     <div class="height5">
<?php
	
    $collection = Mage::getModel('sectors/sectors')->getCollection();
//    Mage::getSingleton('sectors/status')->addEnabledFilterToCollection($collection);
    $number = count($collection);

    //echo $number;
    
    $id=rand(1,$number);
    $collectionAdvertData = Mage::getModel('sectors/sectors')->load($id);
    if ($collectionAdvertData)
    {
    	$imagefile= $collectionAdvertData->getNfile();
    	$postcontent= $collectionAdvertData->getPostContent();
    	
    if(!empty($postcontent) || !empty($imagefile)){
        
    	if (empty($postcontent))
    	{
    		$imgSrc = Mage::getBaseUrl('media').$imagefile;
    	
?>
        <div style="width:100%"><img src="<?php echo $this->getSkinUrl()?>images/advertTitle.gif?>"></div>    
        <div style="width:100%;margin:0;padding:0;height:88px">
            <div style="float:left;width:20px;"><img src="<?php echo $this->getSkinUrl()?>images/advertLeftCorner.gif?>"></div>
            <div style="float:left;width:725px;"><img src="<?php echo $imgSrc?>" class="curpoionter" style="width:725px;height:88px"/></div>
        </div>
        
	  <?php }else { $imgSrc = $postcontent;?>
	   	<div style="width:100%"><img src="<?php echo $this->getSkinUrl()?>images/advertTitle.gif?>"></div>    
        <div style="width:100%;margin:0;padding:0;height:88px">
            <div style="float:left;width:20px;"><img src="<?php echo $this->getSkinUrl()?>images/advertLeftCorner.gif?>"></div>
            <div style="float:left;width:725px;"><?php echo $imgSrc?></div>
        </div>
	   <?php } ?> 	
        
  <?php
        }else{
  ?>
            <img src="<?php echo $this->getSkinUrl()?>images/banner20.gif" class="curpoionter"/>
  <?php
        }
    }
  ?>
      </div> 
      
      
      <!-- advert end -->
  <?php
        }else{
  ?>
            <img src="<?php echo $this->getSkinUrl()?>images/banner20.gif" class="curpoionter"/>
  <?php
        }
  ?>
      </div>

      </div>
      
    </div>
    <script>
        document.getElementById("pcaButtonHM32").style.display ="none";
    </script>